# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-geojson
pkgver=2.5.0
pkgrel=3
pkgdesc="Python bindings and utilities for GeoJSON"
url="https://github.com/jazzband/geojson"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/g/geojson/geojson-$pkgver.tar.gz
	python-3.9.patch"
builddir="$srcdir/geojson-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="68d59a6c7d796549dba4e4e71219901c2d939c7f8f5794c1e6be7cadffb006ad99ac658e0159977b3ecc88cf5ef4f908d3837dddc54c70261291f8fa7b8ffbae  geojson-2.5.0.tar.gz
fbbbfa55963f77e331dee8e4aeb35b529a7dad3da552f23bbf3176d610900a45790bdf1bfc9b46102c773ddd02d56d3763f81b726d49a4acb8e14c7f369fd94d  python-3.9.patch"
